﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    /// <summary>
    /// 导员分配
    /// </summary>
    public interface ITeachPermissionService
    {
        Task<int> AddTeachPermissionAsync(int staffId,int classId);
        Task<int> EditTeachPermissionAsync(int id, int staffId, int classId);
        Task<int> DeleteTeachPermissionAsync(int id);
        Task<List<TeachPermissionDto>> QueryTeachPermissionAllAsync();
        Task<TeachPermissionDto> QueryTeachPermissionByIdAsync(int id);
        //Task<List<TeachPermissionDto>> GetTeachPermissionByNameAsync(string title);
    }
}
